package lab02.test07;

/**
 * Created by AIR on 2017/10/19.
 */
public class Test {
    public static void main(String[] args) {
        /**
         * 程序执行流程：
         */
//测试类Person
        Person chen=new Person();
        chen.name="chengongsuo";
        chen.age=20;
        chen.idcard="1234567890";
        System.out.println(chen.getString());

//测试类Student
        Student zhen=new Student();
        zhen.name="zhen";
        zhen.age=20;
        zhen.idcard="5111241998011888";
        zhen.sno="102102399";
        zhen.university="sctu";
        System.out.println(zhen.getString());
    }

}
